<?php
try {
    if(file_exists("./public_html/trunk/index.php")){
        require_once "./public_html/trunk/index.php";
    }
    else {
        throw new Exception("Could not load file: <strong>trunk/index.php</strong>!");
    }
} catch (Exception $ex) {
    echo $ex->getMessage();
}